package com.casstime.ec.cloud.values.giftPromotion;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import lombok.Getter;
import lombok.Setter;
/**
 * 
 * ClassName: GiftDeduction 
 * Function: (赠品类)
 * Reason: ADD REASON(可选).
 *  
 * @author hongcheng.wu  
 * 2018年4月3日 下午4:14:27
 * @version   
 * @since JDK 1.8
 */
@JsonIgnoreProperties(ignoreUnknown = true)//忽略类中不存在的字段，比如json字符串中有个aaa:123,则不会进行转换
@JsonInclude(value = Include.NON_NULL)
public class GiftDeductionGift {
	
	@Getter @Setter private String productId; //商品id(赠品回退时忽略)
	@Getter @Setter private String promotionId; //买赠活动id
	@Getter @Setter private String gifId; //赠品id
	@Getter @Setter private Integer giftAmount; //扣减数量
	@Getter @Setter private Double giftPrice; //赠品价值(赠品回退时忽略)
	
	@Getter @Setter private String orderId; //订单id(用于赠品回退)
	
	
	
	
}
